package com.rshare.domain.xs;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.rshare.cloudapi.common.DateDeserializer;
import com.rshare.cloudapi.common.DateSerializer;
import com.rshare.cloudapi.domain.xs.SO;

/**
 * 销售订单维护
 * 
 * @author wangxichao
 * @date 2016/4/21
 */
public class SOInfo extends SO {
	private static final long serialVersionUID = 1L;
	/**
	 * 销售订单 创建SO类型的newData, modifyData, oldData
	 */
	private SO newData;// 用于存储前台界面当前的数据
	private SO modifyData;// 用于存储前台界面修改的数据
	private SO oldData;// 用于存储前台界面修改前的数据
	
	//查询字段
	private String searchsoid;//查询销售订单号
	private String searchbmid;//查询销售部门
	private String searchxsyid;//查询销售员
	private String searchkhid;//查询客户编码
	private String searchzt;//查询状态
	private Date searchxqrqb;//查询起始需求日期
	private Date searchxqrqe;//查询截止需求日期
	private Date searchjhfhrqb;//查询起始计划发货日期
	private Date searchjhfhrqe;//查询截止计划发货日期
	private String searchkhddid;//查询客户订单号
	
	//用户参数XSU001
	private String BMList;
	
	public String getBMList() {
		return BMList;
	}

	public void setBMList(String bMList) {
		BMList = bMList;
	}

	//增加 mxsoxh接收前端返回的订单号和序号
	private int mxsoxh;
	private String mxqxgbzt;

	public String getMxqxgbzt() {
		return mxqxgbzt;
	}

	public void setMxqxgbzt(String mxqxgbzt) {
		this.mxqxgbzt = mxqxgbzt;
	}

	public int getMxsoxh() {
		return mxsoxh;
	}

	public void setMxsoxh(int mxsoxh) {
		this.mxsoxh = mxsoxh;
	}

	public String getSearchsoid() {
		return searchsoid;
	}

	public void setSearchsoid(String searchsoid) {
		this.searchsoid = searchsoid;
	}

	public String getSearchbmid() {
		return searchbmid;
	}

	public void setSearchbmid(String searchbmid) {
		this.searchbmid = searchbmid;
	}

	public String getSearchxsyid() {
		return searchxsyid;
	}

	public void setSearchxsyid(String searchxsyid) {
		this.searchxsyid = searchxsyid;
	}

	public String getSearchkhid() {
		return searchkhid;
	}

	public void setSearchkhid(String searchkhid) {
		this.searchkhid = searchkhid;
	}

	public String getSearchzt() {
		return searchzt;
	}

	public void setSearchzt(String searchzt) {
		this.searchzt = searchzt;
	}
	
	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchxqrqb() {
		return searchxqrqb;
	}
	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchxqrqb(Date searchxqrqb) {
		this.searchxqrqb = searchxqrqb;
	}
	
	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchxqrqe() {
		return searchxqrqe;
	}
	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchxqrqe(Date searchxqrqe) {
		this.searchxqrqe = searchxqrqe;
	}
	
	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchjhfhrqb() {
		return searchjhfhrqb;
	}
	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchjhfhrqb(Date searchjhfhrqb) {
		this.searchjhfhrqb = searchjhfhrqb;
	}
	
	@JsonSerialize(using = DateSerializer.class)
	public Date getSearchjhfhrqe() {
		return searchjhfhrqe;
	}
	@JsonDeserialize(using = DateDeserializer.class)
	public void setSearchjhfhrqe(Date searchjhfhrqe) {
		this.searchjhfhrqe = searchjhfhrqe;
	}

	public SO getNewData() {
		return newData;
	}

	public void setNewData(SO newData) {
		this.newData = newData;
	}

	public SO getModifyData() {
		return modifyData;
	}

	public void setModifyData(SO modifyData) {
		this.modifyData = modifyData;
	}

	public SO getOldData() {
		return oldData;
	}

	public void setOldData(SO oldData) {
		this.oldData = oldData;
	}

	public String getSearchkhddid() {
		return searchkhddid;
	}

	public void setSearchkhddid(String searchkhddid) {
		this.searchkhddid = searchkhddid;
	}

}
